package com.wx.wheelview.util;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * WheelUtilsTest
 *
 * @since 2021.07.16
 */
public class WheelUtilsTest {
    /**
     * test parseDimension
     */
    @Test
    public void parseDimension() {
        assertEquals(1.0f, WheelUtils.parseDimension("1vp"), 0.00001f);
        assertEquals(1.0f, WheelUtils.parseDimension("1fp"), 0.00001f);
    }
}
